package com.whcoding.async;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @program: spring-boot-learning
 * @description:
 * @author: whcoding
 * @create: 2022-02-23 16:43
 **/
@EnableAsync//开启异步注解功能
@EnableScheduling//开启定时任务功能的注解
@SpringBootApplication
public class DemoAsyncApplication {
	public static void main(String[] args) {
		SpringApplication.run(DemoAsyncApplication.class, args);
	}
}
